/*
Name:plugin_run_status
Author: Terry Dong
Description: data entity
*/
using System;
using System.Data;
namespace Gammar.Digger.Entity
{
    [Serializable]
    public class plugin_run_statusEntity
    {
        public const string TableName = "plugin_run_status";
        public const string IdentityColumn = "status_id";
        #region constructors
        public plugin_run_statusEntity()
        { }

        public plugin_run_statusEntity(int status_id, int thread_number, int status, int total_number, int finished_number, int success_number, int failed_number, long start_time, long end_time, string description, int plugin_id, int sys_id)
        {
            this._status_id = status_id;

            this._thread_number = thread_number;

            this._status = status;

            this._total_number = total_number;

            this._finished_number = finished_number;

            this._success_number = success_number;

            this._failed_number = failed_number;

            this._start_time = start_time;

            this._end_time = end_time;

            this._description = description;

            this._plugin_id = plugin_id;

            this._sys_id = sys_id;

        }
        #endregion

        #region Fileds


        private int? _status_id;


        private int? _thread_number;


        private int? _status;


        private int? _total_number;


        private int? _finished_number;


        private int? _success_number;


        private int? _failed_number;


        private long? _start_time;


        private long? _end_time;


        private string _description;


        private int? _plugin_id;


        private int? _sys_id;

        #endregion

        #region Properties
        public int? status_id
        {
            set { this._status_id = value; }
            get { return this._status_id; }
        }

        public int? thread_number
        {
            set { this._thread_number = value; }
            get { return this._thread_number; }
        }

        public int? status
        {
            set { this._status = value; }
            get { return this._status; }
        }

        public int? total_number
        {
            set { this._total_number = value; }
            get { return this._total_number; }
        }

        public int? finished_number
        {
            set { this._finished_number = value; }
            get { return this._finished_number; }
        }

        public int? success_number
        {
            set { this._success_number = value; }
            get { return this._success_number; }
        }

        public int? failed_number
        {
            set { this._failed_number = value; }
            get { return this._failed_number; }
        }

        public long? start_time
        {
            set { this._start_time = value; }
            get { return this._start_time; }
        }

        public long? end_time
        {
            set { this._end_time = value; }
            get { return this._end_time; }
        }

        public string description
        {
            set { this._description = value; }
            get { return this._description; }
        }

        public int? plugin_id
        {
            set { this._plugin_id = value; }
            get { return this._plugin_id; }
        }

        public int? sys_id
        {
            set { this._sys_id = value; }
            get { return this._sys_id; }
        }

        #endregion
    }
}

